package com.dev.drawweb.model.pojo;

import java.util.List;

public class Draw{
    int userid;
    String drawname;
    int stuid;

    public Draw() {
    }

    public Draw(String drawname, int stuid) {
        this.drawname = drawname;
        this.stuid = stuid;
    }

    public Draw(int userid, String drawname) {
        this.userid = userid;
        this.drawname = drawname;
    }


    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getDrawname() {
        return drawname;
    }

    public void setDrawname(String drawname) {
        this.drawname = drawname;
    }

    public int getStuid() {
        return stuid;
    }

    public void setStuid(int stuid) {
        this.stuid = stuid;
    }

    @Override
    public String toString() {
        return "Draw{" +
                "userid=" + userid +
                ", drawname='" + drawname + '\'' +
                ", stuid=" + stuid +
                '}';
    }
}
